// pages/mine/mine.js
const log = require('../log/log.js')
Page({

    /**
     * 页面的初始数据
     */
    data: {

    },
    onShareAppMessage: function () {
        return {
            title: '分享六爻策给你的伙伴吧',
            path: '/pages/index/index',
            imageUrl: '/images/6YCSHARE.png'
        }
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {

    },
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady() {

    },
    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },
    record: function (e) {
        wx.navigateTo({
            url: '../record/record'
        })
    },
    yingQi: function (e) {
        wx.navigateTo({
            url: '../yingqi/yingqi'
        })
    },
    ganZhi: function (e) {
        wx.navigateTo({
            url: '../ganzhi/ganzhi'
        })
    },
    jieQi: function (e) {
        wx.navigateTo({
            url: '../jieqi/jieqi'
        })
    },
    nianHao: function (e) {
        wx.navigateTo({
            url: '../nianhao/nianhao'
        })
    },
    dianZan: function (e) {
        wx.navigateTo({
            url: '../dianzan/dianzan'
        })
    },
    adLoad() {
        log.info('小程序视频广告加载成功')
        log.addFilterMsg('adLoad-ME')
    },
    adError(err) {
        log.info('小程序视频广告加载失败', err)
        log.addFilterMsg('adError-ME')
    },
    adClose(){
        log.info('小程序视频广告关闭')
        log.addFilterMsg('adClose-ME')
    }
})